FROM java:8
MAINTAINER 1061050455@qq.com lwc
ENV CATALINA_HOME /usr/local
#设置时区
RUN /bin/cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime \
  && echo 'Asia/Shanghai' >/etc/timezone

ADD ./target/service-gateway.jar /service-gateway.jar
CMD java -jar service-gateway.jar

EXPOSE 80
